﻿using System;
using Volo.Abp.Localization;

namespace AbpProjectTemplate.Localization;

[LocalizationResourceName("App")]
public class AppResource
{
    /// <summary>
    /// 默认语言
    /// </summary>
    public const string DefaultCultureName = "zh-Hans";

    public static Type Type = typeof(AppResource);

    public static ILocalizableString Localizable(string name)
    {
        return LocalizableString.Create(Type, name);
    }
}
